home *** CD-ROM | disk | FTP | other *** search
- Path: meathook.intac.com!user
- From: aidan@genghis.kublai.com (Aidan Cully)
- Newsgroups: comp.lang.c++,rec.games.programmer,alt.msdos.programmer,comp.programming
- Subject: Re: Young programmers read me.
- Date: 6 Apr 1996 23:48:42 GMT
- Organization: Anarchists International
- Message-ID: <aidan-0604961847480001@meathook.intac.com>
- References: <4icpp9$7hr@barad-dur.nas.com> <4imqe4$cj3@ping1.ping.be> <1996Mar23.224853.116513@kuhub.cc.ukans.edu> <4j52hn$ikb@news.ios.com> <Pine.OSF.3.91.960403112207.17337H-100000@bud.cc.swin.edu.au> <aidan-0404961557290001@meathook.intac.com> <pnoguchi-0404962135210001@pnoguchi.his.com>
- NNTP-Posting-Host: meathook.intac.com
-
- In article <pnoguchi-0404962135210001@pnoguchi.his.com>, pnoguchi@his.com
- (Mat Noguchi) wrote:
-
- > The reason people use C/C++ is because it allows a grand abstraction of
- > programming which Pascal, due to its inherent design, will not allow the
-
- You seem to assume that there are only 2 languages that people use in
- life, C/C++ and Pascal, and I agree with you that C/C++ has any number of
- advantages over Pascal, particularly in the area of Object-Oriented
- programming and speed, I was only arguing that Pascal has certain things
- over it (e.g. readability and honest-to-God free-form language), and just
- as computer programming languages go, there are several that come out of
- Pascal which have tried (quite successfully, I might add) to make up for
- and even surpass C++ as an Object-Oriented language. And what do you mean
- by abstraction? C is one of the lowest-level languages there is, and C++
- is just an object-oriented hack put on top of it.
-
- > programmer to do. Unlike Pascal, C/C++ compilers usually assume a
- > programmer is intelligent enough to capture most bugs in a program, which
- > is a good reason for loose syntax. Besides which, if you have so much
- > trouble with C/C++, is that a failing of the language, or your programming
- > skills?
-
- Here you point out one of my greatest objections to the language as though
- it were a feature... I agree that a programmer should be able to find his
- own bugs, but loose syntax is just pointless, and makes the bug-hunt just
- so much harder. I don't think that anyone should have the right to feel
- macho about being able to figure out how to program in one language while
- others can't unless the language has some spiffy new layer of abstraction
- or something that people can't deal with (e.g. OOP), but otherwise it
- seems like the language is badly designed. After gaining a mastery of
- C++, then learning other OOP languages, I have come to the conclusion that
- C++ is badly designed. For example, Function pointer will return an
- integer, takes two ints as parameters. In C/C++
- typedef (int*)(int a, int b) MyFuncType;
- MyFuncType MyFunc;
- in Oberon
- TYPE
- MyFuncType:FUNCTION( a, b:INTEGER ):INTEGER;
- VAR
- MyFunc:MyFuncType;
- Which do you think looks more readable?
-
- BTW, I have absolutely no trouble programming in C++, and I have said that
- I am writing a game in C++, but this is only for speed and the compiler is
- readily available, and all the spiffy things I can do with built in ASM
- support. And all I ever said was that as a *language*, C++ blows. Not at
- compiled program size and speed.
-
- --
- You can't find your waitress
- with a geiger counter
- And she hates you and your friends and you just
- can't get served withoout her
- --Tom Waits
-